﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MODEL
{
    public class Students
    {
        public Students(){ }
   

        #region Protected Properties
		protected int _sID;
        protected int _sCID;
        protected string _sLoginName = String.Empty;
        protected string _sCnName = String.Empty;
        protected string _sPwd = String.Empty;
        protected bool _sGender;
        protected string _sTel = String.Empty;
        protected bool _sIsDel;
        protected DateTime _sAddtime;

        private Classes _sClasses; 
	#endregion

    public Classes SClasses
    {
        get
        {
            return _sClasses;    
        }
                
        set {_sClasses =value; }
           
    }
       #region Public Properties
        /// <summary>
        ///  学生表ID
        /// </summary>
        public int SID
        {
            set { _sID = value; }
            get { return _sID; }
        }

        /// <summary>
        ///  学生所在班级ID
        /// </summary>
        public int SCID
        {
            set { _sCID = value; }
            get { return _sCID; }
        }

        /// <summary>
        ///  登录名
        /// </summary>
        public string SLoginName
        {
            set { _sLoginName = value; }
            get { return _sLoginName; }
        }

        /// <summary>
        ///  中文名
        /// </summary>
        public string SCnName
        {
            set { _sCnName = value; }
            get { return _sCnName; }
        }

        /// <summary>
        ///  登录密码
        /// </summary>
        public string SPwd
        {
            set { _sPwd = value; }
            get { return _sPwd; }
        }

        /// <summary>
        ///  性别
        /// </summary>
        public bool SGender
        {
            set { _sGender = value; }
            get { return _sGender; }
        }

        /// <summary>
        ///  联系电话
        /// </summary>
        public string STel
        {
            set { _sTel = value; }
            get { return _sTel; }
        }

        /// <summary>
        ///  删除标志(0-未删除,1-删除)
        /// </summary>
        public bool SIsDel
        {
            set { _sIsDel = value; }
            get { return _sIsDel; }
        }

        /// <summary>
        ///  新增时间
        /// </summary>
        public DateTime SAddtime
        {
            set { _sAddtime = value; }
            get { return _sAddtime; }
        }

    }
       #endregion
}